From: Keir Fraser Date: Mon, 21 Dec 2009 10:50:28 +0000 (+0000) Subject: xend: Enable vHPET in HVM guests by default. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12833 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9ffb378fdeba3a0288514612e82ca50d4c4ed516;p=xen.git xend: Enable vHPET in HVM guests by default. Signed-off-by: Keir Fraser --- diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 150aacdcaf..76369f4b71 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -501,7 +501,7 @@ class XendConfig(dict): if 'rtc_timeoffset' not in self['platform']: self['platform']['rtc_timeoffset'] = 0 if 'hpet' not in self['platform']: - self['platform']['hpet'] = 0 + self['platform']['hpet'] = 1 if 'xen_platform_pci' not in self['platform']: self['platform']['xen_platform_pci'] = 1 if 'vpt_align' not in self['platform']: diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index fcd2f211f5..3e4528cd4c 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -217,7 +217,7 @@ gopts.var('pae', val='PAE', use="Disable or enable PAE of HVM domain.") gopts.var('hpet', val='HPET', - fn=set_int, default=0, + fn=set_int, default=1, use="Enable virtual high-precision event timer.") gopts.var('timer_mode', val='TIMER_MODE',